<?php  if (!defined("IS_INITPHP")) exit("Access Denied!");  /* INITPHP Version 1.0 ,Create on 2016-01-23 03:07:28, compiled from ../app/web/template/admin/common_list.html */ ?>
<form id="pagerForm" action="<?php echo $page_basename;?>" method="post" action="#rel#">
	<input type="hidden" name="pageNum" value="<?php $page.nowPage ?>" />
	<input type="hidden" name="numPerPage" value="<?php $page.num ?>" />
	<input type="hidden" name="orderField" value="${param.orderField}" /><!--查询排序字段名-->
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" /><!--排序方式-->
</form>

<div class="pageHeader" style="display: ;">
	<form  onsubmit="return navTabSearch(this);" action="" method="post">
		  
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>
						<label>伙伴名称：</label>
						<input type="text" name="partner_name" value=""/>
					</td>
					<td>
						<label>审核：</label>
						<select class="combox" name="check_state">
						<option  value="">选择</option>
						
						</select>
					</td>
					
					<td>
						<div class="subBar">
							<ul>
								<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
							</ul>
			            </div>
					</td>
				</tr>
			</table>	
		</div>

	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="partner_add.php" target="navTab" width="577" height="300" rel="addvisit"><span>添加</span></a></li>
			<li><a class="delete page_node" _node="del" target="selectedTodo" rel="id"  warn="请先选择" postType="string"  href="partner_list.php?action=del" title="请谨慎操作！！确定删除？" ><span>批量删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="110">
		<thead>
			<tr>		
				<th align="center" style="width:5%;" ><input type="checkbox" group="id" class="checkboxCtrl"></th>	
				<!-- <th align="center" style="width:5%;" >序号</th> -->
				<th align="center"  >管理员账号</th>
				<th align="center"  >手机号</th>
				<th align="center"  >伙伴名称</th>
				<th align="center"  >位置</th>
				<th align="center"  >创建时间</th>
				<th align="center"  >审核</th>
				<th align="center"  >停用</th>
				<th align="center"  >编辑</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($list as $k => $v){  ?>
				<tr target="id" rel="<?php $res.pid ?>">
					<td><input name="id" value="<?php $res.pid ?>" type="checkbox"></td>
					<!-- <td><?php $res.partner_id ?></td> -->
					<td><?php echo $v['title'];?></td>
					<td><?php echo $v['title'];?></td>
					<td><?php echo $v['title'];?></td>
					<td><?php echo $v['title'];?></td>
					<td><?php echo $v['title'];?></td>
					<td><?php echo $v['title'];?></td>
					<td><?php echo $v['title'];?></td>
					<td>
						<a target="navTab" href="partner_veiw.php?id=<?php echo $v['title'];?>"  rel="look" mask="true"><span>查看</span></a>
						|
						<a target="navTab" href="partner_edit.php?id=<?php echo $v['title'];?>" width="577" height="300" rel="updatevisit"><span>修改</span></a>
						|
						<a target="navTab" href="partner_tenant.php?id=<?php echo $v['title'];?>"  ><span>商户</span></a>
						|
						<a target="ajaxTodo" class="page_node" _node="del" href="partner_list.php?action=del&id=<?php echo $v['title'];?>" title="请谨慎操作！！确定删除？" ><span>删除</span></a>
						
					</td>
				</tr>
			<?php } ?>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20" <?php if ($page['num']=='20'){ ?>selected="selected"<?php } ?>>20</option>
				<option value="50" <?php if ($page['num']=='50'){ ?>selected="selected"<?php } ?>>50</option>
				<option value="100" <?php if ($page['num']=='100'){ ?>selected="selected"<?php } ?>>100</option>
				<option value="200" <?php if ($page['num']=='200'){ ?>selected="selected"<?php } ?>>200</option>
			</select>
			<span>条，共<?php $page.total ?>条</span>	
			
		</div>
		<div class="pagination" targetType="navTab" totalCount="<?php $page.total ?>" numPerPage="<?php $page.num ?>" pageNumShown="10" currentPage="<?php $page.nowPage ?>"></div>
	</div>
</div>
